
play {
	
	verbose = true
	v1 = voice(VIOLIN)
	v2 = voice(VIOLIN)
	v3 = voice(VIOLIN)
	vc = voice(CELLO)

	vc.octave -= 1
	
	current.value = 1/4
	current.key = D.major
	
	ground = D(1) & A & B & F | G & D & G & A
	rest2 = R*8
    fini = D*2
	p1 = F(1) & E(1) & D(1) & C(1) | B & A & B & C(1) | D(1) & C(1) & B & A | G & F & G & E  
	assert p1.value == 4
	current.value = 1/8
	p2 = D&F & A&G & F&D & F&E | D&B(-1) & D&A & G&B & A&G | 
		 F&D & E&C(1) & D(1)&F(1)&A(1)&A | B&G & A&F & D&D(1)&D(1)*3/2&C(1)/2
	assert p2.value == 4
	current.value = 1/16
    p3 = D(1)&C(1)&D(1)&D & C&A&E&F & D&D(1)&C(1)&B & C(1)&F(1)&A(1)&B(1) |
    	 G(1)&F(1)&E(1)&G(1) & F(1)&E(1)&D(1)&C(1) & B&A&G&F & E&G&F&E   |
    	 D&E&F&G & A&E&A&G & F&B&A&G & A&G&F&E |
    	 D&B(-1)&B&C(1) & D(1)&C(1)&B&A & G&F&E&B & A&B&A&G
	assert p3.value == 4
	current.value = 1/4
	p4 = (F&F(1))/2 & E(1) & (R&D(1))/2 & F(1) | B(1) & A(1) & B(1) & C(2) |
	     (D(2)&D(1))/2 & C(1) & (R&B)/2 & D(1) | (D(1)*3&D)/2 & (D(1)&G(1))/2 & (E(1)&A(1))/2
	assert p4.value == 4
    	 
//	v1 << p

	v1 << rest2 << p1 << p2	<< p3 << p4
	v2 << 2*rest2 << p1 << p2 << p3
	v3 << 3*rest2 << p1 << p2 << p3
	
	vc.filler = ground
	
	sync()
	
	v1 << fini
	vc << fini

}